package stark.app.function.restartlife;

import com.stark.restartlife.lib.ui.AchieveActivity;
import com.stark.restartlife.lib.ui.SelTalentActivity;
import com.stark.restartlife.lib.ui.StatisticsActivity;

import stark.app.R;
import stark.app.databinding.ActivityRestartlifeDemoBinding;
import stark.common.basic.base.BaseNoModelActivity;

/**
 * Author：daizhongbin on 2022/1/4
 * Email：1027154338@qq.com
 * Desc:
 */
public class RestartLifeDemoActivity extends BaseNoModelActivity<ActivityRestartlifeDemoBinding> {
    @Override
    protected int onCreate() {
        return R.layout.activity_restartlife_demo;
    }

    @Override
    protected void initView() {
        mDataBinding.btnSelTalent.setOnClickListener(v -> {
            SelTalentActivity.start(this, null);
        });
        mDataBinding.btnAchievement.setOnClickListener(v -> {
            startActivity(AchieveActivity.class);
        });
        mDataBinding.btnStatistic.setOnClickListener(v -> {
            startActivity(StatisticsActivity.class);
        });
    }

    @Override
    protected void initData() {
    }
}
